toggle button: Convert to css nodes
authorMatthias Clasen <mclasen@redhat.com>
Fri, 30 Oct 2015 04:27:13 +0000 (00:27 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 30 Oct 2015 04:40:50 +0000 (00:40 -0400)
commitc631656f0ca4e13c7a262ed076bc7eda52fe03a1
tree6843367057510705ea4234a4b1d8fae371d8b3a2
parent826633b5b7a53aeed47b75455ecac1648f5ba027
toggle button: Convert to css nodes

Convert GtkToggleButton and its subclasses to CSS nodes.
Keep the button element name for when we want to render
these button-like (but with .toggle, .check and .radio
style classes for differentiation).

When we want to render them with an indicator, use distinct
element names checkbutton and radiobutton, and add a subnode
for the indicator with name check or radio.
gtk/Makefile.am
gtk/gtkcheckbutton.c
gtk/gtkcheckbuttonprivate.h [new file with mode: 0644]
gtk/gtkradiobutton.c
gtk/gtktogglebutton.c